﻿using System;
using Volo.Abp.Domain.Entities.Auditing;

namespace YaAppoint
{
    /// <summary>
    /// 公共实体
    /// </summary>
    public class CommonEntity : FullAuditedEntity<Guid>
    {

        /// </summary>
        public virtual string Name
        {
            get;set;
        }

        /// <summary>
        /// 编码
        /// </summary>
        public virtual string? Code
        {
            get;set;
        }

        /// <summary>
        /// 别名
        /// </summary>
        public virtual string? Alias
        {
            get;set;
        }

        /// <summary>
        /// 外码
        /// </summary>
        public virtual string? OuterCode
        {
            get;set;
        }

        /// <summary>
        /// 活动
        /// </summary>
        public virtual bool IsActive 
        {
            get;set;
        }

        /// <summary>
        /// 顺序
        /// </summary>
        public virtual long Order
        {
            get; set;
        } = 0;

        /// <summary>
        /// 描述
        /// </summary>
        public virtual string? Desc
        {
            get;set;
        }
    }
}
